#include<iostream>
using namespace std;

class Box
{
    int l, b, h;
    public:
        void setDimension(int l, int b, int h)
        {
            this->l = l;
            this->b = b;        //this pointer stores address of caller object
            this->h = h;
        }
        void showDimension()
        {
            cout << l << " " << b << " " << h << endl;
        }
};

int main()
{
    Box smallBox;
    smallBox.setDimension(5, 10, 15);
    smallBox.showDimension();
}